/**
 * 
 */
package com.java.service.impl;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.java.entity.User;

/**
* @author Kidney
* 创建时间：2019年2月25日 下午6:14:02
* Description:
*/
/**
 * @author KIDNEY
 *
 */
public interface UserService {
    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
    
    List<User> selectAll();
    
    List<User> selectByCondition(User record);

	/**
	 * @param request
	 * @param response
	 */
	void logout(HttpServletRequest request, HttpServletResponse response);
}